package com.zdkj.subway.stm.dto.in;

import com.zdkj.subway.stm.entity.SwStTicketHandDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @support: zdkj
 * @author: cuilei
 * @version: 1.0
 * @Date: 2020-05-26 15:23
 * @Description: <p>
 * 车站新增车票上交录入表单封装
 * </p>
 */
@Data
public class SwStTicketHandInputDTO implements Serializable {
    private static final long serialVersionUID = 1242824772651983569L;
    /**
     * 上交人
     */
    @ApiModelProperty(value = "上交人")
    private String handPersonName;
    /**
     * 上交人工号
     */
    @ApiModelProperty(value = "上交人工号")
    private String handPersonCode;
    /**
     * 上交时间
     */
    @ApiModelProperty(value = "上交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime handTime;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 上交明细列表
     */
    @ApiModelProperty("上交明细列表")
    private List<SwStTicketHandDetail> swStTicketHandDetails;
}
